package com.org.daniel.common.constant.enumerators;

/**
 * redis频道，不同数据源
 * @author Daniel
 */
public enum RedisChannelEnum {
	MASTER("master", "主数据源"),
	SECOND("second", "第二数据源");

	private String code;
	private String desc;

	RedisChannelEnum(String code, String desc){
		this.code = code;
		this.desc = desc;
	}

	public String getCode(){
		return code;
	}

	public String getDesc(){
		return desc;
	}

}
